package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;
import java.util.List;

public class BatchScrap extends BasePojo {
    // 产品报废ID
    private Integer batchScrapId;
    // 产品报废编号
    private String batchScrapNo;
    // 制单人
    private Integer userId;
    // 制单人 翻译
    private String userName;
    // 判断状态
    private Integer auditState;
    // 判断状态  翻译
    private String auditStateName;
    // 制单日期 创建日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改日期
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 说明
    private String remark;
    // 状态码
    private Integer dataState;
    // 明细集合
    private List<BatchScrapDetail> batchScrapDetailList;
    // 批次Id数组
    private Integer[] Lists;

    public Integer[] getLists() {
        return Lists;
    }

    public void setLists(Integer[] lists) {
        Lists = lists;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAuditStateName() {
        return auditStateName;
    }

    public void setAuditStateName(String auditStateName) {
        this.auditStateName = auditStateName;
    }

    public List<BatchScrapDetail> getBatchScrapDetailList() {
        return batchScrapDetailList;
    }

    public void setBatchScrapDetailList(List<BatchScrapDetail> batchScrapDetailList) {
        this.batchScrapDetailList = batchScrapDetailList;
    }

    public Integer getBatchScrapId() {
        return batchScrapId;
    }

    public void setBatchScrapId(Integer batchScrapId) {
        this.batchScrapId = batchScrapId;
    }

    public String getBatchScrapNo() {
        return batchScrapNo;
    }

    public void setBatchScrapNo(String batchScrapNo) {
        this.batchScrapNo = batchScrapNo;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getAuditState() {
        return auditState;
    }

    public void setAuditState(Integer auditState) {
        this.auditState = auditState;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}